package mode.builder;

/**
 * 建造者单例模式测试
 *
 * @author xjx
 * @date 2023/7/18 14:59
 */
public class MainTest {
    public static void main(String[] args) {
        Car car = new CarBuilder().comfort("很舒适").power("动力一般").type("紧凑型车").build();
        System.out.println(car.toString());
    }
}
